using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Composition;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using Cinch;
using MEFedMVVM.ViewModelLocator;
using SLS.Base;
using SLS.Controls;
using SLS.Document;
using SLS.ExClassLib.Data;
using SLS.ExClassLib.Events;
using SLS.ExClassLib.MVVM;
using SLS.ExClassLib.WFActivities;
namespace SLS.Presentation
{
    /// <summary>
    /// Interaction logic for EditGoodsTypeKeyDef.xaml
    /// </summary>
    [ViewnameToViewLookupKeyMetadata("DetailGTARQueryCond", typeof(DetailGTARQueryCond))]
    public partial class DetailGTARQueryCond : ExQUERY
    {
        /*
        [Import("GTARQueryCondLocalizationModel", typeof(ILocalizationModel))]
        public override ILocalizationModel LocalizationModel
        {
            get { return base.LocalizationModel; }
            set { base.LocalizationModel = value; }
        }   */
        public DetailGTARQueryCond()
        {
            InitializeComponent(); 
           if (DesignerProperties.GetIsInDesignMode(this as DependencyObject))
            {
                return;
            }  
            Address = " DetailGTARQueryCond" + "#" + Guid.NewGuid().ToString().ToUpper();            
            this.BaseTable = "GTAR";
        }   
        public override void SLBC_Loaded(object sender, RoutedEventArgs e)
        {
            base.SLBC_Loaded(sender, e);
            try
            {
                if (NMICD != null)
                {
                    NMICD.CMDEXE.TextChanged += new TextChangedEventHandler(CMDEXE_TextChanged);
                }
            }
            catch (Exception ex)
            {
                Tracer.Error(ex.StackTrace, ex);
            }
        }
    }
} 
 
